﻿using System;

namespace Demo05172
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("请选择你的英雄前的序号：1、埃洛克  2、泰拉  3、卢卡斯  4、洛菲");
            int NUM = int.Parse(Console.ReadLine());

            switch (NUM)
            {
                case 1:
                   //输入昵称
                   Console.WriteLine("请输入你的昵称：");
                   string a = Console.ReadLine();
                   //埃洛克
                   AiLouKe ailuoke = new AiLouKe();
                   ailuoke.HeroName = "埃洛克";
                   ailuoke.HeroInfo = "埃洛克是一名来自末日边境的勇士。他是圣约英雄中名副其实的拳术好手。他用毁灭性的符文魔法和无情的拳术攻击消灭敌人。 ";
                   ailuoke.NickName = a;
                   ailuoke.Speed = 40;
                   ailuoke.Defense = 65;
                   ailuoke.Attack = 80;
                   ailuoke.User();
                   ailuoke.SuiShiDaJi();
                   ailuoke.Sou();
                   break;
                case 2:
                   //输入昵称
                   Console.WriteLine("请输入你的昵称：");
                   string b = Console.ReadLine();
                   //泰拉
                   TaiLa tai = new TaiLa();
                   tai.HeroName = "泰拉";
                   tai.HeroInfo = "泰拉是为复仇而来的勇者。她挥舞着法杖，将愤怒转化为强大的元素魔法和攻击力，因此战无不胜。";
                   tai.NickName = b;
                   tai.Speed = 45;
                   tai.Defense = 65;
                   tai.Attack = 75;
                   tai.User();
                   tai.SuiShiDaJi();
                   tai.Sou();
                    break;
                case 3:
                   //输入昵称
                   Console.WriteLine("请输入你的昵称：");
                   string c = Console.ReadLine();
                   //卢卡斯
                   LuKaSi lu = new LuKaSi();
                   lu.HeroName = "卢卡斯";
                   lu.HeroInfo = "卢卡斯是一名彬彬有礼的剑客，能控制源质能量。他一手持剑战斗，另一手辅助攻击。";
                   lu.NickName = c;
                   lu.Speed = 50;
                   lu.Defense = 60;
                   lu.Attack = 75;
                   lu.User();
                   lu.SuiShiDaJi();
                   lu.Sou();
                    break;
                case 4:
                   //输入昵称
                   Console.WriteLine("请输入你的昵称：");
                   string d = Console.ReadLine();
                   //洛菲
                   LouFei fei = new LouFei();
                   fei.HeroName = "洛菲";
                   fei.HeroInfo = "洛菲是一名攻击迅猛且擅长传送魔法的时空旅行者，喜欢利用她的幻象伙伴迷惑、吸引并摧毁敌人。";
                   fei.NickName = d;
                   fei.Speed = 75;
                   fei.Defense = 55;
                   fei.Attack = 70;
                   fei.User();
                   fei.NengLingJingLing();
                   fei.Sou();
                    break;
                default:
                    break;
            }



        }
    }
}
